package com.trip.vo;

/**
 * Created by hc24 on 2018/3/12.
 */

public class PlanDiscussionCountVo {
    private Integer planId;
    private Integer count;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PlanDiscussionCountVo that = (PlanDiscussionCountVo) o;

        return planId != null ? planId.equals(that.planId) : that.planId == null;
    }

    @Override
    public int hashCode() {
        return planId != null ? planId.hashCode() : 0;
    }
}
